package com.jiutian.hotel.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "userinfo")
public class UserInfoData {
    private String userid;
    private String name;
    private String mobile;
    private String email;

    public UserInfoData() {
    }

    public UserInfoData(String userid, String name, String mobile, String email) {
        this.userid = userid;
        this.name = name;
        this.mobile = mobile;
        this.email = email;
    }

    @Id
    @Column(name = "userid")
    public String getUserid() {
        return this.userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    @Column(name = "name")
    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Column(name = "mobile")
    public String getMobile() {
        return this.mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    @Column(name = "email")
    public String getEmail() {
        return this.email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}
